-- CALC_AVALON_CANNON_ACCURACY

-- 计算阿瓦隆巨炮的命中
return function(avalonCannon)
    -- 初始命中
    local accuracy = AvalonCannonM.query(avalonCannon.classId, "init_accuracy");

    -- 加成
    local prop = PropM.combine(avalonCannon, "attrib2", "accuracy");
    accuracy = PropM.apply(prop, accuracy);

    -- 玩家对阿瓦隆巨炮属性加成
    prop = PropM.combine(ME.user, "avalon_addon", "accuracy");
    accuracy = PropM.apply(prop, accuracy);

    return accuracy;
end
